Archive project with reduced RST
This APDL script reduces the results file by filtering out only the last result set per load step.
! Commands inserted into this file will be executed immediately after the ANSYS /POST1 command.
! Active UNIT system in Workbench when this object was created: Metric (mm, t, N, s, mV, mA)
! NOTE: Any data that requires units (such as mass) is assumed to be in the consistent solver unit system.
! See Solving Units in the help system for more information.
set,list
set,last
*get,my_totsets,active,0,set,nset
*get,my_numlsteps,active,0,set,lstp
*dim,todelete,array,my_totsets-my_numlsteps
k=1
*do,i,1,my_numlsteps
set,i
*get,my_numsub,active,0,set,sbst
*get,my_subsetnum_first,active,0,set,nset,first,i
*get,my_subsetnum_last,active,0,set,nset,last,i
*do,j,my_subsetnum_first,my_subsetnum_last-1
todelete(k)=j
k=k+1
*enddo
*enddo
/aux3
file,file,rst
*do,i,1,my_totsets-my_numlsteps
delete,set,todelete(i)
*enddo
compress
fini
/post1
set,list